// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IWorkSchedulerProvider.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   A provider that can get the current work scheduler
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System.ComponentModel.Composition;

namespace AzureContrib.WindowsAzure.WorkServices
{
	/// <summary>
	/// A provider that can get the current work scheduler
	/// </summary>
	[InheritedExport]
	public interface IWorkSchedulerProvider
	{
		/// <summary>
		/// Gets the current <see cref="IWorkScheduler"/>
		/// </summary>
		/// <returns>The <see cref="IWorkScheduler"/>.</returns>
		IWorkScheduler CurrentWorkScheduler();
	}
}